package com.ruoyi.common.enums;

/**
 * description: 角色枚举
 * date: 2023年04月17日 17:23
 * author: tmac-1
 * version: 1.0
 */
public enum RoleEnum {
    ADMIN(1L, "admin"),
    COMMON(2L, "common");

    private final Long roleId;
    private final String roleKey;

    public Long getRoleId() {
        return roleId;
    }

    public String getRoleKey() {
        return roleKey;
    }

    RoleEnum(Long roleId, String roleKey) {
        this.roleId = roleId;
        this.roleKey = roleKey;
    }
}
